home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-09
/
namelist.zip
/
NAMELIST.DOC
< prev
next >
Wrap
Text File
|
1992-05-08
|
21KB
|
684 lines
NAMELIST
--------
Version 2.01
Copyright (c) 1992
By Bill Wood
Name and Address Database
Written by:
Bill Wood,
P.O. Box 278,
Lion's Head, Ontario,
Canada. N0H 1W0
NAMELIST Ver. 2.01
Copyright (c) 1992
Copyright 1992 (c) by Bill Wood
-------------------------------
NAMELIST ver 2.01 is not in the public domain but may be
used free of charge. You may not charge any fee for this
program or its distribution, other than normal membership
fees charged by Bulletin Board Systems. The program must be
distributed in its original form without any modifications
and with all files intact.
DISCLAIMER
----------
This program is provided "as is" without warranty of any
kind, either expressed or implied, including but not limited
to the implied warranties of merchantability and fitness for
a particular purpose. No representation is made that this
program will meet the user's particular requirements. The
user assumes the entire risk associated with the use of this
program and is solely responsible for the use and operation
of this program for any application. The author will not be
responsible for any losses incurred or damages caused by the
use or misuse of this program.
Page 2
NAMELIST Ver. 2.01
Copyright (c) 1992
As the program is documented with help screens a manual
of operations should not be required.
I would suggest that you read this documentation, then
install the program and read each help screen in full. The
program is supplied with two records in the database as
samples. You can access the records by inputing Wood for a
last name or computer for company name at the main menu.
Input some test records of your own and play with all the
program functions. After this determine how you want to
setup your database and go to it.
The best way to find out how the program works is to use it.
Page 3
NAMELIST Ver. 2.01
Copyright (c) 1992
SYNOPSIS
--------
Namelist is a program that stores and retrieves names,
addresses, telephone numbers and memo. Names may be stored as
last name and/or by company name and be retrieved by either
name. Up to five telephone numbers may be stored in each
record. A comment field is provided for short notes or
additional telephone numbers.
The address fields hold the mailing address for the
record. The province field uses the standard two letter mail
codes for provinces of Canada and the states of the U.S.A.
All input to this field is converted to upper case if
required and validated. If a invalid code is entered a list
of all valid codes will be displayed. The postal code field
will convert all input to upper case and the program will
attempt to convert Canadian postal codes to a standard
format. If the postal code is inputed as N0H1W0 or N0H-1W0 it
will be converted to N0H 1W0 .
A memo is attached to each record and has a compact word
processor with word wrap abilities built in. Up to 64,000
characters may be entered into each memo. This works out to
approximately 30 pages of text for each record.
In the utilities menu, the database and memo files may be
packed, and the index files may be reindexed. Read help in
utilities for information on maintaining files. From the
utility menu, system file sizes can be displayed with the
system command.
The label print utility is reached from the utility menu.
From the label menu, mailing labels may be printed. Read help
in label setup menu and print labels menu for information on
printing labels.
Four tags and one filter may be set in a record to allow
selective label printing and searches. The filter field of a
record may contain a name to set conditions for searches. As
an example, if some records in the database have filter names
of COMPUTER, XMASLIST and MYLIST, and the balance of the
records have blank filter fields, with the search filter set
for XMASLIST and E (for equal to) is set, only records with a
filter field of XMASLIST will be found or printed in the
print label utility. If N (for not equal to) was selected all
records except the records with XMASLIST would be found. If
the filter setting is left blank, record filters are ignored
in a search. The tags in each record may be set to T (for
true) or F (for false) in the add or edit screens. The tags
work in the same way as the filter works. As an example, if
in the filter menu tag1 is set to T, tag3 is set to F and
tag2 & tag4 are not set (I for ignore), only the records with
tag1 set to T and tag3 set to F would be found. Filter and
tags may be used together to set up searches.
Page 4
NAMELIST Ver. 2.01
Copyright (c) 1992
Tag4 should not be assigned a permanent use as it has
additional functions. Tag4 can be toggled from F to T from
the search screen with F8, so you can move quickly through
the records with previous record or next record and set tag4
for special searches. Tag4 in all records can be reset to F
with the utility menu command "Set tag4 to false for all
records" .
A new record is added to the database by selecting add in
the main menu.
To search for and retrieve a record the last name or
company name is inputed in the main menu. The search will
find the first record that matches the characters inputed for
the search. It is not necessary to use the full name for a
search. As an example, if Woo was entered for the search the
first record with the name starting with Woo would be found.
Search is not sensitive to the case of the letters used, so a
search for the name Smith would be found with a input of
SMITH or smith. If a record is searched for with out a name
the first record with a last name or company name will be
found.
If a matching record is found it will be displayed on the
search screen. At the search screen you may print a copy of
the record, move to the previous or next record, toggle Tag4
from false to true or move to the edit screen to edit the
displayed record. If memo is highlighted a memo is attached
to the record and it may be viewed with the M command.
When in the edit screen you may edit the record and the
memo. If a memo was not attached to the record when it was
added, one may be added in the edit screen later.
Attempts have been made to preserve the integrity of the
database files. All buffers are flushed after each record is
updated or added. I can guarantee that the buffers were
written to the disk if DOS 3.3 or higher is in use. With DOS
3.2 and lower I can not guarantee a disk write until the
files are close on program exit. A danger of file integrity
loss occurs when the program is not exited properly. This
will occur with a power loss while running the program or
exiting the program with Ctrl-Alt-Del . Read help in the
utility menu for information on files.
YOUR BEST INSURANCE IS REGULAR FILE BACKUPS !
Page 5
NAMELIST Ver. 2.01
Copyright (c) 1992
HELP SCREENS
------------
Main Menu 6 pages of help
Utilities Menu 3 pages of help
Labels 2 pages of help (at label setup)
1 page of help (at print labels)
Filter 2 pages of help
Search 1 page of help (at command line)
1 page of help (in memo view)
Add Menu 4 pages of help (in input screen)
2 pages of help (in memo add)
4 pages of help (for invalid postal code)
1 page of help (at exit add line)
Edit Menu 4 pages of help (in input screen)
2 pages of help (in memo edit)
4 pages of help (in invalid postal code)
1 page of help (at exit edit line)
Page 6
NAMELIST Ver. 2.01
Copyright (c) 1992
TECHNICAL
---------
Memory Required 470K Minimum.
If expanded memory is available it will
be used for index functions to speed up
searches.
DOS Tested on DOS 3.2, 3.3, 4.01 & 5.0
DOS 3.3 or higher is recommended.
Records Limited only by disk space.
( 1 billion maximum )
Index type B-Tree
Required files
NAMELIST.DOC Documentation (file you are reading)
NAMELIST.EXE Namelist program
NL_NAME.DBF Main database
NL_NAME.DBT Memo database
NL_FILT.NTX Filter index
NL_LAST.NTX Last name index
NL_VEND.NTX Company name index
Note: If the .NTX files are not found
the program will build them
automatically.
Parameters Alarm tones and screen type can be
controlled with the following command
line parameters.
C:>NAMELIST /NOCOL no colour
C:>NAMELIST /NOTONE no alarm tones
C:>NAMELIST /NOTONE /NOCOL no alarm tone or colour
space ^ ^ space
/NOCOL should be used on systems with graphic
adaptors and monochrome monitors. Many
Lap Top computers are set up this way.
If a graphic adaptor is not detected the
program will automatically run in
monochrome mode.
Path The DOS path may be set to point to
data files.
eg: PATH = <data file path name>
Set The DOS environmental variable NAMELIST
may be set to point to the data files.
eg: SET NAMELIST=<data file path name>
^ no space
Page 7
NAMELIST Ver. 2.01
Copyright (c) 1992
INSTALLATION
------------
Floppy disk:
I do not recommend that this program be run from a floppy
disk as the size of the database would be very limiting
(especially on a 360K disk), and the record search time will
be slow. If you wish to run the program from a floppy disk,
copy all the files to the floppy disk and make the drive with
the program files your current drive. Typing the command
NAMELIST will run the program.
Hard disk:
All the data and index files must be in one directory.
For this example, the files will be placed in directory
\NAMELIST on drive C: . Make a directory on drive C: named
NAMELIST and copy all the files to C:\NAMELIST .
If you make C:\NAMELIST the current drive and directory,
NAMELIST may be run with the command NAMELIST with on further
action.
The program may be run from other drives and directories
if a path is set to C:\NAMELIST. (eg: C:>PATH = C:NAMELIST)
The program on start up checks for an environmental
variable named NAMELIST pointing to the drive and directory
for the program. If the variable is found and it points to a
directory with valid database files the program will run. If
the files are not found the program will abort.
NAMELIST uses one of three ways to locate it's files:
- First the program checks for it's environmental variable.
If the variable is found, the files in the directory
pointed to by the variable are run. If for some reason the
files are not found the program aborts.
- If no environmental variable is found the program checks
the current directory for the data files. If the files are
found the program runs.
- If the files are not found in the current directory all
DOS paths are checked for the files. The first directory
containing valid files is used and the program runs. If
the data files are not found in any directory or no path
was set the program aborts.
Under most conditions loading all the files to one
directory and setting the DOS path will be sufficient for
running the program.
Page 8
NAMELIST Ver. 2.01
Copyright (c) 1992
ENVIRONMENTAL VARIABLE
----------------------
The environmental variable may be used for special setups
such as having the program run three different databases.
As an example, we will setup a system for Jim, Sam and
Bill all with their individual data files.
First make a directory named NAMELIST and then make
subdirectories JIM , SAM , and BILL under NAMELIST .
C:-|
|-\NAMELIST-|
|-\JIM
|-\SAM
|-\BILL
Now copy NL_NAME.DBF & NL_NAME.DBT to C:\NAMELIST\JIM ,
C:\NAMELIST\SAM and C:\NAMELIST\BILL . Now copy NAMELIST.EXE
to C:\NAMELIST . The .NTX files are not required as the
program will build them the first time the data files are
used.
The following three batch files will run NAMELIST for
Jim, Sam and Bill with their own data files.
REM Jim's file REM Sam's file
REM name this file JIM.BAT REM name this file SAM.BAT
ECHO OFF ECHO OFF
SET NAMELIST=C:\NAMELIST\JIM SET NAMELIST=C:\NAMELIST\SAM
C:\NAMELIST\NAMELIST C:\NAMELIST\NAMELIST
SET NAMELIST= SET NAMELIST=
REM eof REM eof
REM Bill's file
REM name this file BILL.BAT
ECHO OFF
SET NAMELIST=C:\NAMELIST\BILL
REM Bill doesn't like the alarm tone
C:\NAMELIST\NAMELIST /NOTONE
SET NAMELIST=
REM eof
When the above batch files are run they will select the
appropriate data files for Jim, Sam or Bill. The batch files
may be in any directory if the DOS path is set to point to
them.
Page 9
NAMELIST Ver. 2.01
Copyright (c) 1992
416TO905.EXE
------------
On October 4th, 1993 telephone area code 416 will be
divided into two and a new 905 area will be introduced.
I have included a utility to help you with this change of
area codes. The utility named 416TO905 when run, will replace
phone numbers with area codes 416 with area code 905 if the
phone number falls in the new area.
The utility uses the postal code as the key to determine
if the area code should be changed. All postal codes starting
with the letter M will remain in area 416 and all others will
change to 905. Only records with valid postal codes will be
changed.
DO NOT use this utility until October of 1993 and make a
BACKUP of NL_NAME.DBF and NL_NAME.DBT before using this
utility.
NL_NAME.DBF must be in the current directory to run this
program.
Page 10
NAMELIST Ver. 2.01
Copyright (c) 1992
THE AUTHOR
----------
I have not placed this program in the public domain as I
may expand the program and offer it as a commercial package
in the future. You may use this version of the program as you
wish free of charge. If you do make use of the program, I
would appreciate your comments on the program and suggestion
for additional features.
Some of the additional features I have on my list are:
- Importing text files into record memos.
- Exporting the database as a delimited file.
- Ability to search on any combination of fields and
conditions then save the search queries for later
use.
- Network version.
- Auto phone dialer via a modem using stored numbers.
My computer experience goes back to the mid 70's
and since that time I have been involved with mainframe
computers, date communications and micro computers. I am now
freelance programing, offering a programing service for
specialized micro computer programs and utilities. If you
have any micro computer programing needs or require
assistance with computer related problems, please feel free
to contact me.
Happy computing !
Page 11